home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
filbuf.zip
/
FILBUF.TXT
< prev
next >
Wrap
Text File
|
1992-06-12
|
2KB
|
43 lines
FILBUF.LIB
by Jim Kyle
This library includes two language-independent functions that will determine
the number of FILES and the number of BUFFERS presently configured in any
system running MS-DOS versions 2.0 through 5.0. These functions do NOT work
with DR-DOS or in the DOS box of OS/2.
Also included are two sample files, for any compilable BASIC and for any
version of C that recognizes the "pascal" and "far" keywords, which
demonstrate the use of these functions.
For details of the way in which these functions operate, see Chapter 4 of
the book "Undocumented DOS", ISBN 0-201-57064-5, published by Addison-Wesley
Publishing Co., Inc., and available anywhere technical computer books are
sold. Kyle is the author of that chapter. These functions are based on the
programs published in the book, but have been converted to assembly language
and all dependency on any language-specific compiler libraries has been
removed. Consequently, they operate equally well when called from C, BASIC,
and Pascal.
If you find this library useful and would like to obtain commented source
code for both functions, in 8086 assembly language, you can register your copy
for $20 US. You will receive a diskette containing commented source code and
the latest version of the library, together with a pair of executable files
that make the FILES and BUFFERS value accessible to BATch programs, and your
name will be added to the list of registered users who will receive
notification of any additional utilities developed.
To register, send $20 (cash, check payable on U.S. bank, or International
Reply Coupon) to:
Jim Kyle's Software Factory
12101 N. WesternView Avenue
Oklahoma City, OK, U.S.A. 73162-1118
Be sure to include your full name and complete mailing address. Your
diskette will be returned by first-class mail within 24 hours of receiving
your registration.
Suggestions for other utilities you would find useful are always welcome.
You can contact Kyle via CompuServe CMail as 76703,762.